home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / Confidential ƒ / Confidential.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.7 KB  |  61 lines  |  [TEXT/MPS ]

  1. #    File:        Confidential.make
  2. #   Target:     Confidential
  3. #   Sources:    Confidential.a Confidential.c Confidential.r
  4. #   Created:    Monday, Feb. 1, 1993 2:34:56 PM
  5. #
  6. #    Makefile for a printing extension that stamps a message on each page spooled.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    2/01/93  - dmh - Completely rewrote for the a5 seed.
  12. #    4/26/93  - dmh - For b1 - removed ! from filenames because
  13. #                     they were killing BuildProgram…
  14. #    9/05/93  - dmh - Updated for b2.
  15. #  12/18/93  - dmh - Updated for b3.
  16. #    8/24/94     - dmh - finalized.
  17. #   6/14/96  - cn  - Updated to support MPW Pro #19.
  18. #
  19.  
  20. # Our creator type:
  21.  
  22. kCreator = 'CON!'
  23.  
  24.  
  25. #    Alias to the paths for the GX interface files.
  26.  
  27. GXLibs            = "{MPW}GXLibraries"
  28. GXCompatIntf    = "{MPW}GX Compatibility Interfaces"
  29.  
  30.  
  31. #    The assembly/C options we want to use.  Make sure you use
  32. #    the -b2 option or your static strings will be treated as
  33. #    global data, and the linker will have a hissy.
  34.  
  35. AsmOptions        = -sym off -i "{CIncludes}" -i {GXLibs} -i {GXCompatIntf} -case obj
  36. CompileOptions    = -sym off -i "{CIncludes}" -i {GXLibs} -i {GXCompatIntf} -mbg full -b2
  37.  
  38.  
  39. #    Alias to the compiled files.
  40.  
  41. OBJECTS = Confidential.a.o Confidential.c.o
  42.  
  43.  
  44. Confidential.a.o ƒ Confidential.make Confidential.a
  45.      Asm {AsmOptions} Confidential.a
  46. Confidential.c.o ƒ Confidential.make Confidential.c Confidential.h
  47.      SC {CompileOptions} -r  Confidential.c
  48.  
  49. Confidential ƒƒ Confidential.make Confidential.r {OBJECTS}
  50.     Link    -ra =resSysHeap,resPurgeable    ∂
  51.             -c {kCreator}                    ∂
  52.             -t 'pext'                        ∂
  53.             -rt pext=0                        ∂
  54.             -sg ConfidentialMPW                ∂
  55.             -m EntryPoint                     ∂
  56.             {OBJECTS}                        ∂
  57.             "{Libraries}Interface.o"        ∂
  58.             -o Confidential;
  59.     SetFile Confidential -a iB;
  60.     Rez -i "{CIncludes}" -rd -o Confidential Confidential.r -append 
  61.